<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:fragment="header(title, link, style)">
    <th:block th:if="${title == null}">
        <title>汽车美容后台管理</title>
    </th:block>
    <th:block th:if="${title != null}">
        <title th:replace="${title}">汽车美容</title>
    </th:block>

    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="description" content="汽车美容后台管理系统" />
    <meta name="keywords" content="汽车美容连锁管理,汽车美容系统,汽车美容" />

    <link rel="shortcut icon" th:href="@{/mo-favicon.ico}" type="image/x-icon">
    <link rel="stylesheet" th:href="@{/css/plugins/font-awesome-4.7.0/css/font-awesome.min.css}"  media="all">
    <th:block th:if="${link != null}">
        <th:block th:replace="${link}"></th:block>
    </th:block>

    <th:block th:if="${style != null}">
        <th:block th:replace="${style}"></th:block>
    </th:block>
    <base th:href="${#request.getContextPath()}+'/'">
</head>
<body>
	<th:block th:fragment="common">
        <script th:src="@{/js/plugins/jquery-2.2.4.min.js}"></script>
        
        <script th:src="@{/lib/layui_v2.6.8/layui.js}"></script>
        <link rel="stylesheet" th:href="@{/lib/layui_v2.6.8/css/layui.css}">
        <link rel="stylesheet" th:href="@{/lib/layui-soul-table_v2.6.7/soulTable.css}">
        
        <script th:src="@{/lib/common/common.js}"></script>
    	<script th:src="@{/js/main.js}" charset="utf-8"></script>
        <link rel="stylesheet" th:href="@{/css/main.css}"  media="all">
        <link rel="stylesheet" th:href="@{/lib/common/common.css}"  media="all">
    	<script th:src="@{/js/plugins/jquery.form.min-4.3.js}"></script>
    	
        <script th:inline="javascript">
        	var ctx= [[@{/}]];
            if (ctx == '/') ctx = '';
        	//var ctx= '[[${#request.getContextPath()}]]';
        	var ctxStatic= '[[${ctxStatic}]]'; // 静态路径
		    layui.config({
			    base: ctx + "lib/layui-soul-table_v2.6.7/ext/"   // 模块目录
			}).extend({                         // 模块别名
				soulTable: 'soulTable',
			    tableChild: 'tableChild',
			    tableMerge: 'tableMerge',
			    tableFilter: 'tableFilter',
			    excel: 'excel'
			});
        </script>
    </th:block>
    <th:block th:fragment="jqgrid">
    	<script th:src="@{/lib/jqgrid_v5.5.x/trirand/jquery.jqGrid.min.js}"></script>
        <script th:src="@{/lib/jqgrid_v5.5.x/trirand/i18n/grid.locale-cn.js}"></script>
        <script th:src="@{/lib/bootstrap/3.3.7/js/bootstrap.min.js}"></script>
		<link rel="stylesheet" th:href="@{/lib/bootstrap/3.3.7/css/bootstrap.min.css}">
    	<link rel="stylesheet" th:href="@{/lib/jqgrid_v5.5.x/trirand/css/trirand/ui.jqgrid-bootstrap.css}" />
    </th:block>
    
</body>
</html>